package com.hxm.servicebroadcasttest;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.widget.Toast;

/**
 * Created by hxm on 2017/2/9.
 */

public class LalaBroadcastReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        if (intent.getAction().equals("com.hxm.ACTION_ONE")) {
            Toast.makeText(context, "method of binder is executed", Toast.LENGTH_SHORT).show();
        }
    }
}
